import http.client
conn=http.client.HTTPConnection(host="localhost",port=80)
conn.request("GET","agileone")
content=conn.getresponse().read().decode()
print(content)
param="username=admin&password=admin&savelogin=true"
header={"Content-type":"application/x-www-form-urlencoded"}
conn=http.client.HTTPConnection("localhost")
conn.request("POST","agileone/index.php/common/login",param,header)
content=conn.getresponse().read()
print(content)